package io.ouka.pub.exceptionenum;


import io.ouka.pub.judge.CommonExceptionAssert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Description:
 * User: Ouka
 * Date: 2020-04-26
 * Time: 23:31
 */
@Getter
@AllArgsConstructor
public enum ArgumentResponseEnum implements CommonExceptionAssert {
    /**
     * 绑定参数校验异常
     */
    VALID_ERROR(6000, "参数校验异常"),

    ;

    /**
     * 返回码
     */
    private int code;
    /**
     * 返回消息
     */
    private String message;

    @Override
    public Integer getCode(){return code;}

    @Override
    public String getMsg() {
        return message;
    }


}
